package org.example.service;

import org.example.dao.Song;
import org.example.enums.responseEnum;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface SongService {
    List<Song> getSongList(Integer uid);

    Song getSongById(Integer id);

    List<Song> search(String text,Integer uid);


    responseEnum addSong(Song song);

    responseEnum updateSongCommentCount(Song song);
    responseEnum updateSongLikeCount(Song song);

    responseEnum addSongIntact(@RequestParam("file") MultipartFile file, Song song);
}
